package com.zhangln.mountbuzhou.dao;

import com.zhangln.mountbuzhou.dto.request.PushMsgReq;
import com.zhangln.mountbuzhou.entity.TbPushLogEntity;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 推送日志 服务类
 * </p>
 *
 * @author sherry
 * @since 2020-04-27
 */
public interface TbPushLogDao extends IService<TbPushLogEntity> {

    /**
     * 保存推送日志
     * @param pushId
     * @param channelId
     * @param pushMsgReq
     */
    void savePushLog(String pushId,String channelId, PushMsgReq pushMsgReq);

    void truncate();

    void msgConfirm(String channelId, String msgId);
}
